package org.nstack.header.network.l2;

import org.nstack.header.message.APIReply;
import org.nstack.header.rest.RestResponse;

import java.util.Arrays;
import java.util.List;



@RestResponse(fieldsTo = {"types=l2NetworkTypes"})
public class APIGetL2NetworkTypesReply extends APIReply {

    private List<String> l2NetworkTypes;

    public List<String> getL2NetworkTypes() {
        return l2NetworkTypes;
    }

    public void setL2NetworkTypes(List<String> l2NetworkTypes) {
        this.l2NetworkTypes = l2NetworkTypes;
    }
 
    public static APIGetL2NetworkTypesReply __example__() {
        APIGetL2NetworkTypesReply reply = new APIGetL2NetworkTypesReply();
        reply.setL2NetworkTypes(Arrays.asList("L2VlanNetwork", "L2NoVlanNetwork"));
        return reply;
    }

}
